﻿using System;
namespace Model
{
    #region cityEntity
    /// <summary>
    /// Entity:cityEntity
    /// Author:wxc
    /// DateTime:2021/5/29 14:04:33
    /// </summary>
    [Serializable]
    public class cityEntity
    {
        #region Member Variables		
        protected int _id;
        protected string _code = String.Empty;
        protected string _name = String.Empty;
        protected string _provincecode = String.Empty;
        #endregion
        #region Constructer without paras        
        public cityEntity()
        {
        }
        #endregion
        #region Constructer with paras
        /// <summary>
        /// Constructer with paras
        /// </summary>
        /// <param name="id"></param>
        /// <param name="code"></param>
        /// <param name="name"></param>
        /// <param name="provincecode"></param>
        public cityEntity(
        int id,
        string code,
        string name,
        string provincecode)
        {
            this._id = id;
            this._code = code;
            this._name = name;
            this._provincecode = provincecode;
        }
        #endregion
        #region Public Properties		
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string code
        {
            get { return _code; }
            set { _code = value; }
        }

        public string name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string provincecode
        {
            get { return _provincecode; }
            set { _provincecode = value; }
        }
        #endregion
    }
    #endregion
}
